'''
Created on 01/05/2013

@author: cristian
'''
import os
import pm
import unittest
import tempfile
from pm.models.Usuarios import Usuarios
from pm.models.Fases import Fases
from pm.models.Proyectos import Proyectos
from pm.database import db
import datetime

class PMTestCase(unittest.TestCase):
    
    def setUp(self):
        self.db_fd, pm.app.config['DATABASE'] = tempfile.mkstemp()
        pm.app.config['TESTING'] = True
        self.app = pm.app.test_client()
        
    def tearDown(self):
        os.close(self.db_fd)
    